<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<!DOCTYPE html>
<html lang="zh-CN">
<%@ include file="head.jsp" %>
<body>
<%@ include file="nav.jsp" %>
<div class="container-fluid">

    <form action="" method="post">
        <div class="form-group">
            <label>名称</label>
            <input type="text" class="form-control" placeholder="名称" name="name" value="${category.name}">
        </div>
        <div class="form-group">
            <label>状态</label>
            <div>
                <input type="radio" name="status" value="1" <c:if test="${category.status==1}">checked</c:if>
                       class="radio-inline"> 启用
                <input type="radio" name="status" value="0" <c:if test="${category.status==0}">checked</c:if>
                       class="radio-inline"> 禁用
            </div>
        </div>
        <div class="form-group">
            <label>排序</label>
            <input type="text" class="form-control" placeholder="名称" name="sort" value="${category.sort}">
        </div>


        <button type="submit" class="btn btn-success">操作</button>
        <a href="javascript:history.go(-1)" class="btn btn-default">返回</a>
    </form>
</div>

<%@ include file="foot.jsp" %>
</body>
</html>
